<h1>Editar Empresa</h1>
<% form_for :empresa, @empresa, :url => {:action => 'update', :id => @empresa} do |e| %>
  <%= error_messages_for :empresa %>
  <%= render :partial => 'form', :locals => {:e => e} %>
  <%= submit_tag 'Guardar' %>
<% end %>
<p><%= link_to "Regresar", :action => "index" %></p>
